.container {
  padding: 24px;
  background: #fff;
}

.statisticsRow {
  margin-bottom: 24px;

  :global(.ant-card) {
    border-radius: 4px;
    
    &:hover {
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
    }
  }
}

.searchBar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 4px;
}

.mainTable {
  :global {
    .ant-table-thead > tr > th {
      background: #f0f5ff !important;
    }

    .ant-table-row {
      &:hover {
        td {
          background: #f5f5f5 !important;
        }
      }
    }
  }
}

.expandedContent {
  padding: 0 24px;
}

.expandedHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;

  h4 {
    margin: 0;
    color: #1890ff;
    font-weight: 500;
  }
}

.detailTable {
  margin: -16px -24px;
  
  :global {
    .ant-table-thead > tr > th {
      background: #f7f7f7;
    }
  }
}

// 响应式布局
@media screen and (max-width: 768px) {
  .searchBar {
    flex-direction: column;
    gap: 16px;
  }

  .statisticsRow {
    :global(.ant-col) {
      margin-bottom: 16px;
    }
  }
}

// 打印样式
@media print {
  .container {
    padding: 0;
  }

  .searchBar,
  .ant-pagination,
  .ant-btn {
    display: none !important;
  }
}
